﻿@model GameSchool.ViewModels.ViewLevelViewModel
@{
	ViewBag.Title = @Model.Level.Title;
}

<!--Brauðmolar-->
<ul class="breadcrumb">  
	<li><a href="/Home">Forsíða</a> <span class="divider">></span></li>  
	<li><a href="/Game/Games">Leikir</a> <span class="divider">></span></li>
	<li class="active">@Model.Level.Title</li>
</ul>

<!--Flipar-->
<div class="tabbable">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#tab1" data-toggle="tab">Borð</a></li>
	</ul>
<!--Flipar enda-->

<!--Efni á bak við flipa-->
	<div class="tab-content">
		<div class="tab-pane active" id="tab1">
			<!-- birta lista af efni innan þessa borðs-->

		<p>Hér fyrir neðan er listi af þeim verkefnum, netprófum og myndböndum sem tilheyra þessu borði:</p>
		<!-- Verkefnalisti-->
		<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
			<td>Titill Myndbands</td>
        </tr>
    </thead>
@foreach (var n in Model.Videos)
{
    <tr>
		<td><a href="/Video/ViewVideo/@n.ID">@n.Title</a></td>
    </tr>
}

<!-- Verkefnalisti-->
		<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
			<td>Titill verkefnis</td>
        </tr>
    </thead>
@foreach (var n in Model.Assignments)
{
    <tr>
		<td><a href="/Assignment/ViewAssignment/@n.ID">@n.Title</a></td>
    </tr>
}

</table>

		</div>
	</div>
</div>
<!--Efni á bak við flipa endar-->
